Skip to content

🦋 New version release#30

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 9, 2026
Merged

🦋 New version release#30
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/chat-widget@0.13.0

Minor Changes

  • 92b31ad: Add an opt-in showToolActivity option that renders the agent's tool activity (grep / read_file / bash / knowledge_search…) as inline chips interleaved with its prose, mirroring the smooth daemon SPA's blocks model.

    • Defaults to false — a customer-facing support widget stays byte-for-byte unchanged (prose bubble only). Enable via the show-tool-activity HTML attribute or showToolActivity: true in the config.
    • When enabled, an assistant turn that invokes a tool renders as an ordered strip of prose bubbles + tool chips (running… / done ✓ / error), in the order the model produced them. Tool activity is read from state.rawResponse.toolCall / state.rawResponse.toolResult (the correct nested path — reading state.toolResult leaves chips stuck "running…").
    • Tool name/args are rendered via textContent (never innerHTML), so a tool payload can't inject markup. New public MessageBlock / ToolCall types.

@brentrager brentrager merged commit fa81c15 into main Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant